@import "../base/color.scss";
@import "../base/mixin.scss";

$nav-height: 50px;
.top-info {
  position: relative;
  width: 100%;
  height: $nav-height;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  padding-right: 20px;
  box-sizing: border-box;
  background-color: $white_1;
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.03);
  .org-info {
    height: 100%;
    display: flex;
    align-items: center;
    .org-info__popover {
      width: 239px;
      height: 207px;
    }
    .org-info__icon {
      font-size: 19px;
      color: $black_2;
      margin: 0 18px 0 20px;
      &:hover {
        color: #336cfb;
      }
    }
    .org-info__line {
      width: 1px;
      height: 18px;
      background-color: #d2d2d2;
    }
    .org-info__workspace {
      font-size: 16px;
      line-height: 16px;
      color: #330000;
      margin-left: 16px;
    }
  }

  .user-info {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: $black_2;
    .user-info__search {
      flex: 0 0 200px;
    }
    .user-info__publish,
    .user-info__custom {
      flex: 0 0 60px;
      width: 60px;
      margin-right: 4px;
      margin-left: 20px;
      color: $black_2;
      &:hover {
          color: $blue_1;
      }
    }
    .user-info__help,
    .user-info__select {
      font-size: 16px;
      margin-left: 20px;
      &:hover {
        color: $blue_1;
      }
    }
    .user-info__avatar {
      flex: 0 0 30px;
      height: 30px;
      line-height: 30px;
      margin-left: 20px;
      margin-right: 20px;
      border-radius: 50%;
      background-color: $blue_2;
      color: $white_1;
      font-size: 10px;
    }
  }
}
